/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package businessData;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;
import javax.ejb.Stateless;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;

/**
 *
 * @author cam
 */

public class StockPlan implements Serializable{
     private List<Order> stockPlanList;

    public StockPlan() {
        stockPlanList = new ArrayList<Order>();
    }

     
     
    public StockPlan(List<Order> stockPlanList) {
        this.stockPlanList = stockPlanList;
    }

   

    public List<Order> getStockPlanList() {
        return stockPlanList;
    }

    public void setStockPlanList(List<Order> stockPlanList) {
        this.stockPlanList = stockPlanList;
    }
    public void addChild(Order order) { 
        
        stockPlanList.add(order);
    }    
 
}
